package com.xuecheng.learning.service;

import com.xuecheng.base.model.PageResult;
import com.xuecheng.learning.model.dto.MyCourseTableParams;
import com.xuecheng.learning.model.dto.XcChooseCourseDto;
import com.xuecheng.learning.model.dto.XcCourseTablesDto;
import com.xuecheng.learning.model.po.XcCourseTables;

/**
 * @author Tang
 * @version 1.0
 * @date 2024/1/12 17:13
 */
public interface MyCourseTableService {
    XcChooseCourseDto addChooseCourse(String userId, Long courseId);

    XcCourseTablesDto getLearningState(String userid, Long courseId);

    boolean saveChooseCourseSuccess(String chooseCourseId);

    PageResult<XcCourseTables> mycoursetable(MyCourseTableParams params);
}
